package com.cskaoyan.vo.systemvo;

import java.util.List;

public class ListVo {

    /**
     * total : 4
     * items : [{"id":19,"username":"yjlyjl","avatar":"http://182.92.235.201:8083/wx/storage/fetch/p4zhmdecsazfs36kmmhq.jpg","roleIds":[1]},{"id":5,"username":"mall123","avatar":"'","roleIds":[2]},{"id":4,"username":"promotion123","avatar":"'","roleIds":[3]},{"id":1,"username":"admin123","avatar":"https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif","roleIds":[1]}]
     */

    private int total;
    private List<ItemsBean> items;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<ItemsBean> getItems() {
        return items;
    }

    public void setItems(List<ItemsBean> items) {
        this.items = items;
    }

    public static class ItemsBean {
        /**
         * id : 19
         * username : yjlyjl
         * avatar : http://182.92.235.201:8083/wx/storage/fetch/p4zhmdecsazfs36kmmhq.jpg
         * roleIds : [1]
         */

        private int id;
        private String username;
        private String avatar;
        private Integer[] roleIds;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public Integer[] getRoleIds() {
            return roleIds;
        }

        public void setRoleIds(Integer[] roleIds) {
            this.roleIds = roleIds;
        }
    }
}
